//-----------------------------------------------------------------------
// <copyright file="LearningResourcePeerRating.cs" company="Procure Development">
//     Copyright (c) Procure Development. All rights reserved.
// </copyright>
// <author>Victor Procure</author>
//-----------------------------------------------------------------------

using System;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace SManagement.Models
{
    /// <summary>
    /// An individual score, rating or level assigned to a Learning Resource by a person
    /// within the boundaries set by a Peer Rating System.
    /// </summary>
    public class LearningResourcePeerRating
    {
        #region Instance Properties

        [BsonId]
        public ObjectId _id { get; set; }

        public ObjectId LearningResourceId { get; set; }

        public ObjectId PersonId { get; set; }

        public ObjectId PeerRatingSystemId { get; set; }

        public decimal? Value { get; set; }

        public DateTime? Date { get; set; }

        #endregion Instance Properties
}

}